﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VueEntities
{
    /// <summary>
    /// 这是用户
    /// </summary>
    public class User
    {
        [Key]
        public int UserId { get; set; }
        public string Name { get; set; }
        public string Address { get; set; }
        public DateTime Birthday { get; set; }
        public int Age { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public string TelPhone { get; set; }
        public bool Sex { get; set; }
        public virtual ICollection<UserAndRole> UserAndRole { get; set; }
    }
}
